<?php
class GuestsController extends Zend_Controller_Action
{

    function init () {
        $init = new Model_Init($this);
    }

    function indexAction () {
        $guest = new Model_Guest();
        
        $page = $this->_getParam('request');
        $user_id = Zend_Auth::getInstance()->getIdentity()->id;
        
        $this->view->guests = $guest->getGuests($user_id, $page);
    }

}









